home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global rValue
- if pushButton() then
- if selection() then
- set rValue to "ExpSel"
- set the text of cast "ExpText" to the selection
- if exportText(field "ExpText") then
- tell the stage
- forgetExp()
- end tell
- end if
- else
- alert("There is no text selected. Please select an area to export or click Export All to export the entire text box.")
- end if
- end if
- end
-